home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / nt4.0 server / OEMNSVTP.IN_ / oemnsvtp.inf
INI File  |  1996-07-12  |  18KB  |  468 lines

  1. [Identification]
  2.     OptionType = NetService
  3. [Options]
  4.     TCPPRINT
  5. [FileConstants]
  6. Manufacturer    = "Microsoft"
  7. ProductMajorVersion     = "4"
  8. ProductMinorVersion     = "0"
  9. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  10. ProductOpSupport     = 132
  11. ProductTCPPRINTName        = "TcpPrint"
  12. ProductLPDName             = "LPDSVC"
  13. ProductLPDImagePath        = "%SystemRoot%\System32\tcpsvcs.exe"
  14. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\TcpPrint\CurrentVersion"
  15. ProductLPDSVCKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\LPDSVC\CurrentVersion"
  16. MonitorName = "LPR Port"
  17. [GeneralConstants]
  18. UtilityInf       = "UTILITY.INF"
  19. subroutineinf    = "SUBROUTN.INF"
  20. Exit_Code        = 0
  21. BillboardVisible = 0
  22. from      = ""
  23. to        = ""
  24. ExitCodeOk     = 0
  25. ExitCodeCancel = 1
  26. ExitCodeFatal  = 2
  27. KeyNull         = ""
  28. MAXIMUM_ALLOWED   = 33554432
  29. SERVICE_NO_CHANGE = 4294967295
  30. RegistryErrorIndex = NO_ERROR
  31. KeyProduct      = ""
  32. KeyParameters   = ""
  33. TRUE            = 1
  34. FALSE           = 0
  35. NoTitle         = 0
  36. ExitState   = "Active"
  37. OldVersionExisted = $(FALSE)
  38. [date]
  39.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  40. [Identify]
  41.     read-syms Identification
  42.     set Status     = STATUS_SUCCESSFUL
  43.     set Identifier = $(OptionType)
  44.     set Media      = #("Source Media Descriptions", 1, 1)
  45.     Return $(Status) $(Identifier) $(Media)
  46. [ReturnOptions]
  47.     set Status        = STATUS_FAILED
  48.     set OptionList     = {}
  49.     set OptionTextList = {}
  50.     set LanguageList = ^(LanguagesSupported, 1)
  51.     Ifcontains(i) $($0) in $(LanguageList)
  52.         goto returnoptions
  53.     else
  54.         set Status = STATUS_NOLANGUAGE
  55.         goto finish_ReturnOptions
  56.     endif
  57. returnoptions = +
  58.     set OptionList     = ^(Options, 1)
  59.     set OptionTextList = ^(OptionsText$($0), 1)
  60.     set Status         = STATUS_SUCCESSFUL
  61. finish_ReturnOptions = +
  62.     Return $(Status) $(OptionList) $(OptionTextList)
  63. [InstallOption]
  64.     set Option   = $($1)
  65.     set SrcDir   = $($2)
  66.     set AddCopy  = $($3)
  67.     set DoCopy   = $($4)
  68.     set DoConfig = $($5)
  69.     set LanguageList = ^(LanguagesSupported, 1)
  70.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  71.         Return STATUS_NOLANGUAGE
  72.     endif
  73.     Debug-Output "OEMNSVCU.INF: STF_CWDIR is: "$(!STF_CWDIR)
  74.     Debug-Output "OEMNSVCU.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  75.     set-subst LF = "\n"
  76.     read-syms GeneralConstants
  77.     read-syms FileConstants
  78.     read-syms DialogConstants$(!STF_LANGUAGE)
  79.     ifstr(i) $(!NTN_Origination) == "NCPA"
  80.         set Continue = $(OK)
  81.     endif
  82.     read-syms FileConstants$(!STF_LANGUAGE)
  83.     detect date
  84.     set-title  $(FunctionTitle)
  85.     set to   = Begin
  86.     set from = Begin
  87.     set CommonStatus = STATUS_SUCCESSFUL
  88.     EndWait
  89. Begin = +
  90.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  91.         set StartLabel = removeadapter
  92.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  93.         set StartLabel = UpgradeSoftware
  94.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  95.         Debug-Output "Cannot configure the software."
  96.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  97.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  98.             Debug-Output "ShellCode error: cannot get an error string."
  99.             goto ShellCodeError
  100.         endif
  101.         set Error = $($R0)
  102.         set from = end
  103.         set to = end
  104.         goto nonfatalinfo
  105.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  106.         set StartLabel = bindingadapter
  107.     else
  108.         set StartLabel = installadapter
  109.         set OEM_ABANDON_SOFTWARE = {}
  110.         set OEM_ABANDON_OPTIONS = {}
  111.     endif
  112.     set from = $(fatal)
  113.     set to = $(fatal)
  114.     goto $(StartLabel)
  115. installadapter = +
  116.     Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  117.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  118.        Goto ShellCodeError
  119.     Else-Ifstr(i) $($R0) == STATUS_FAILED
  120.        Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  121.        ifint $($ShellCode) != $(!SHELL_CODE_OK)
  122.            goto ShellCodeError
  123.        endif
  124.        set Error = $($R0)
  125.        Goto fatal
  126.     Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  127.        Goto successful
  128.     Endif
  129.     Set SrcDir = $($R1)
  130.     ifstr(i) $(!NTN_InstallMode) == "install"
  131.         Debug-Output "OEMNSVCU.INF: installadapter: installing [Install-Option]"
  132.         install "Install-Option"
  133.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  134.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  135.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  136.                goto ShellCodeError
  137.            endif
  138.            set Error = $($R0)
  139.            goto fatal
  140.         endif
  141.     endif
  142.     set OEM_ABANDON_ON  = TRUE
  143.     StartWait
  144.     Shell $(UtilityInf) InstallSoftwareProduct $(Manufacturer) $(ProductTCPPRINTName) $(STF_CONTEXTINFNAME)
  145.     set VerKey = $($R1)
  146.     set NetRuleKey = $($R2)
  147.     Shell  $(UtilityInf), AddValueList, $(VerKey), {{Hidden,0,$(!REG_VT_DWORD),1}}
  148.     Shell  $(UtilityInf), AddValueList, $(NetRuleKey), {{InfOption,0,$(!REG_VT_SZ),"TCPPRINT"}}
  149.     CloseRegKey $(VerKey)
  150.     CloseRegKey $(NetRuleKey)
  151.     OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\EventLog\Application"$(CS_EventLogLocation) $(MAXIMUM_ALLOWED) CS_KeyEventLog
  152.     Ifstr $(CS_KeyEventLog) == $(KeyNull)
  153.        debug-output "Cannot open eventlog key"
  154.     else
  155.        CreateRegKey $(CS_KeyEventLog) {"LPR Print Monitor",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" CS_KeyService
  156.        ifstr(i) $(CS_KeyService) == ""
  157.            OpenRegKey $(CS_KeyEventLog) "" "LPR Print Monitor" $(MAXIMUM_ALLOWED) CS_KeyService
  158.        endif
  159.        Ifstr $(CS_KeyService) != $(KeyNull)
  160.            SetRegValue $(CS_KeyService) {EventMessageFile,$(NoTitle),$(!REG_VT_EXPAND_SZ),"%SystemRoot%\System32\lprmon.dll"}
  161.            SetRegValue $(CS_KeyService) {TypesSupported,$(NoTitle),$(!REG_VT_DWORD),7}
  162.            CloseRegKey $(CS_KeyService)
  163.        endif
  164.     Endif
  165.     Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer),+
  166.             $(ProductLPDName),+
  167.             $(ProductLPDName),+
  168.             $(ProductLPDDisplayName), $(STF_CONTEXTINFNAME),+
  169.             $(ProductLPDImagePath),+
  170.             "serviceshare",+
  171.             "", {"Tcpip","Afd"}, "",+
  172.             "%SystemRoot%\System32\lpdsvc.dll"
  173.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  174.         Debug-Output "OEMNSVTP.INF: ShellCode error, add software component"
  175.         goto ShellCodeError
  176.     endif
  177.     set RegistryErrorIndex = $($R0)
  178.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  179.         EndWait
  180.         Debug-Output "OEMNSVTP.INF: Registry error: add software components"
  181.         CloseRegKey $($R1)
  182.         CloseRegKey $($R2)
  183.         CloseRegKey $($R3)
  184.         CloseRegKey $($R4)
  185.         CloseRegKey $($R5)
  186.         goto fatalregistry
  187.     endif
  188.     Set LPDVersKeyHandle  = $($R1)
  189.     Set LPDRulesKeyHandle = $($R2)
  190.     Set LPDSvcKeyHandle   = $($R3)
  191.     Set LPDParmKeyHandle  = $($R4)
  192.     Set LPDLinkageHandle  = $($R5)
  193.     set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),"Service"},+
  194.                        {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  195.                        {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  196.                        {Review,$(NoTitle),$(!REG_VT_DWORD),1},+
  197.                        {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductLPDTitle)},+
  198.                        {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductLPDDescription)},+
  199.                        {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductLPDName)},+
  200.                        {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}, +
  201.                        {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  202.     Shell  $(UtilityInf), AddValueList, $(LPDVersKeyHandle), $(NewValueList)
  203.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  204.         Debug-Output "OEMNSVTP.INF: ShellCode error, add value list"
  205.         goto ShellCodeError
  206.     endif
  207.     set RegistryErrorIndex = $($R0)
  208.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  209.         EndWait
  210.         Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  211.         CloseRegKey $(LPDVersKeyHandle)
  212.         CloseRegKey $(LPDRulesKeyHandle)
  213.         CloseRegKey $(LPDSvcKeyHandle)
  214.         CloseRegKey $(LPDParmKeyHandle)
  215.         CloseRegkey $(LPDLinkageHandle)
  216.         goto fatalregistry
  217.     Endif
  218.     set NewValueList = {{InfOption,$(NoTitle),$(!REG_VT_SZ),TCPPRINT},+
  219.                         {type,$(NoTitle),$(!REG_VT_SZ),"tcppint tcpprinting"},+
  220.                         {bindform,$(NoTitle),$(!REG_VT_SZ),{"tcpprinting nothing non non 100"}}+
  221.                         }
  222.     Shell  $(UtilityInf), AddValueList, $(LPDRulesKeyHandle), $(NewValueList)
  223.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  224.         Debug-Output "OEMNSVTP.INF: ShellCode error."
  225.         goto ShellCodeError
  226.     endif
  227.     set RegistryErrorIndex = $($R0)
  228.     CloseRegKey $(LPDVersKeyHandle)
  229.     CloseRegKey $(LPDRulesKeyHandle)
  230.     set NewValueList = {{AllowJobRemoval,$(NoTitle),$(!REG_VT_DWORD),1},+
  231.                        {AllowPrinterResume,$(NoTitle),$(!REG_VT_DWORD),1},+
  232.                        {MaxConcurrentUsers,$(NoTitle),$(!REG_VT_DWORD),100}}
  233.     Shell  $(UtilityInf), AddValueList, $(LPDParmKeyHandle), $(NewValueList)
  234.     CloseRegKey $(LPDParmKeyHandle)
  235.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  236.         CloseRegKey $(LPDLinkageHandle)
  237.         CloseRegKey $(LPDSvcKeyHandle)
  238.         EndWait
  239.         Debug-Output "OEMNSVTP.INF: Registry error: add value list."
  240.         goto fatalregistry
  241.     endif
  242.     CloseRegKey $(LPDLinkageHandle)
  243.     EndWait
  244.     Shell $(UtilityInf) SetMasterComponent Microsoft Tcpip $(STF_CONTEXTINFNAME) TCPPRINT
  245.     goto successful
  246. configureadapter = +
  247.     goto end
  248. bindingadapter =+
  249.     OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase)"\"$(Manufacturer)"\lpdsvc\CurrentVersion" $(MAXIMUM_ALLOWED) CurrentVersionKey
  250.     DeleteRegValue $(CurrentVersionKey) "Review"
  251.     CloseRegKey $(CurrentVersionKey)
  252.     LoadLibrary "x" $(!STF_CWDDIR)\tcpcfg.dll !TCPCFG_HANDLE
  253.     LibraryProcedure Result, $(!TCPCFG_HANDLE), CPlAddMonitor, $(MonitorName), "lprmon.dll"
  254.     freeLibrary $(!TCPCFG_HANDLE)
  255.     goto end
  256. removeadapter = +
  257.     OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase)"\"$(Manufacturer) $(MAXIMUM_ALLOWED) ProductKey
  258.     ifstr(i) $(ProductKey) != ""
  259.         DeleteRegTree $(ProductKey) $(ProductTCPPRINTName)
  260.     endif
  261.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), $(ProductLPDName) 
  262.     LoadLibrary "x" $(!STF_CWDDIR)\tcpcfg.dll !TCPCFG_HANDLE
  263.     LibraryProcedure Result, $(!TCPCFG_HANDLE), CPlDeleteMonitor, $(MonitorName)
  264.     freeLibrary $(!TCPCFG_HANDLE)
  265.     goto end
  266. UpgradeSoftware = +
  267.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  268.     Ifstr(i) $(KeyProduct) != $(KeyNull)
  269.         OpenRegKey $(!REG_H_LOCAL) "" $(ProductLPDSVCKeyName) $(MAXIMUM_ALLOWED) LPDSVCKeyProduct
  270.         Ifstr(i) $(LPDSVCKeyProduct) != $(KeyNull)
  271.             SetRegValue $(LPDSVCKeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  272.             SetRegValue $(LPDSVCKeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  273.             SetRegValue $(LPDSVCKeyProduct) {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductLPDDescription)}
  274.             SetRegValue $(LPDSVCKeyProduct) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}
  275.             CloseRegKey $(LPDSVCKeyProduct)
  276.         endif
  277.         install "Install-Update"
  278.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  279.             goto fatal
  280.         endif
  281.         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  282.         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  283.         OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\LPDSVC" $(MAXIMUM_ALLOWED) LPDKey
  284.         Ifstr $(LPDKey) != $(KeyNull)
  285.             SetRegValue $(LPDKey) {DisplayName,$(NoTitle),$(!REG_VT_SZ),$(ProductLPDDisplayName)}
  286.             CloseRegKey $(LPDKey)
  287.         endif
  288.         OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\EventLog\Application"$(CS_EventLogLocation) $(MAXIMUM_ALLOWED) CS_KeyEventLog
  289.         Ifstr $(CS_KeyEventLog) == $(KeyNull)
  290.            debug-output "Cannot open eventlog key"
  291.         else
  292.        DeleteRegTree $(CS_KeyEventLog) $(MonitorName)
  293.            OpenRegKey $(CS_KeyEventLog) "" "LPR Print Monitor" $(MAXIMUM_ALLOWED) CS_KeyService
  294.            ifstr(i) $(CS_KeyService) == ""
  295.                CreateRegKey $(CS_KeyEventLog) {"LPR Print Monitor",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" CS_KeyService
  296.                Ifstr $(CS_KeyService) != $(KeyNull)
  297.                    SetRegValue $(CS_KeyService) {EventMessageFile,$(NoTitle),$(!REG_VT_EXPAND_SZ),"%SystemRoot%\System32\lprmon.dll"}
  298.                    SetRegValue $(CS_KeyService) {TypesSupported,$(NoTitle),$(!REG_VT_DWORD),7}
  299.                    CloseRegKey $(CS_KeyService)
  300.                endif
  301.            endif
  302.            CloseRegKey $(CS_KeyService)
  303.         Endif
  304.         LoadLibrary "x" $(!STF_CWDDIR)\tcpcfg.dll !TCPCFG_HANDLE
  305.         LibraryProcedure Result, $(!TCPCFG_HANDLE), CPlDeleteMonitor, "LPRMonitor"
  306.         LibraryProcedure Result, $(!TCPCFG_HANDLE), CPlAddMonitor, $(MonitorName), "lprmon.dll"
  307.         freeLibrary $(!TCPCFG_HANDLE)
  308.         CloseRegKey $(KeyProduct)
  309.     else
  310.         goto fatalregistry
  311.     endif
  312.     goto end
  313. successful = +
  314.     goto end
  315. infomsg =+
  316.    read-syms InfoDlg
  317.    ui start "Warning"
  318.    set CommonStatus = STATUS_USERCANCEL
  319.    goto end
  320. warning = +
  321.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  322.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  323.         goto ShellCodeError
  324.     endif
  325.     ifstr(i) $($R1) == "OK"
  326.         goto $(to)
  327.     else-ifstr(i) $($R1) == "CANCEL"
  328.         goto $(from)
  329.     else
  330.         goto "end"
  331.     endif
  332. nonfatalinfo = +
  333.     Set CommonStatus = STATUS_USERCANCEL
  334.     Set Severity = STATUS
  335.     goto nonfatalmsg
  336. nonfatal = +
  337.     Set Severity = NONFATAL
  338.     goto nonfatalmsg
  339. nonfatalmsg = +
  340.     ifstr(i) $(Error) == ""
  341.         Set Severity = NONFATAL
  342.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  343.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  344.             goto ShellCodeError
  345.         endif
  346.         set Error = $($R0)
  347.     endif
  348.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  349.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  350.         goto ShellCodeError
  351.     endif
  352.     ifstr(i) $($R1) == "OK"
  353.         goto $(from)
  354.     else
  355.         goto "end"
  356.     endif
  357. fatalregistry = +
  358.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  359.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  360.         goto ShellCodeError
  361.     endif
  362.     set Error = $($R0)
  363.     goto fatal
  364. fatal = +
  365.     ifstr(i) $(Error) == ""
  366.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  367.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  368.             goto ShellCodeError
  369.         endif
  370.         set Error = $($R0)
  371.     endif
  372.     Ifint $(BillboardVisible) != 0
  373.         Shell "subroutn.inf" PopBillboard
  374.         Set BillboardVisible = 0
  375.     Endif
  376.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  377.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  378.         goto ShellCodeError
  379.     endif
  380.    goto setfailed
  381. ShellCodeError = +
  382.     set DlgType      = "MessageBox"
  383.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  384.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  385.     set STF_MB_TYPE  = 1
  386.     set STF_MB_ICON  = 3
  387.     set STF_MB_DEF   = 1
  388.     ui start "Error Message"
  389.     goto setfailed
  390. setfailed = +
  391.     set CommonStatus = STATUS_FAILED
  392.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  393.         set OEM_ABANDON_ON = FALSE
  394.         goto removeadapter
  395.     endif
  396.     goto end
  397. end = +
  398.     goto term
  399. term = +
  400.     Return $(CommonStatus)
  401. [GetFilesSize]
  402.     set FileSizeList = ^(Files-TCPPRINT,3)
  403.     set TotalSize = 0
  404.     ForListDo $(FileSizeList)
  405.         Split-String $($) "=" SplitString
  406.         set Size = *($(SplitString),3)
  407.         set-add TotalSize = $(TotalSize) $(Size)
  408.     EndForListDo
  409.     set-div SizeInK = $(TotalSize) 1024
  410.     return $(SizeInK)
  411. [Install-Option]
  412.     set STF_VITAL = ""
  413.     ifstr(i) $(AddCopy) == "YES"
  414.         AddSectionFilesToCopyList Files-TCPPRINT $(SrcDir) $(!STF_WINDOWSSYSPATH)
  415.     endif
  416.     ifstr(i) $(DoCopy) == "YES"
  417.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  418.        CopyFilesInCopyList
  419.     endif
  420.     ifstr(i) $(DoConfig) == "YES"
  421.     endif
  422.     Exit
  423. [Install-Update]
  424.    set STF_VITAL        = ""
  425.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  426.    AddSectionFilesToCopyList Files-TCPPRINT $(SrcDir) $(!STF_WINDOWSSYSPATH)
  427.    Exit
  428. [Source Media Descriptions]
  429.     1 = "Windows NT Server CD-ROM", TAGFILE = cdrom_s.40
  430. [Signature]
  431.     FileType = MICROSOFT_FILE
  432. [GetSignature]
  433.     read-syms Signature
  434.     return $(FileType)
  435. [ProductType]
  436. STF_PRODUCT  = LanmanNT
  437. STF_PLATFORM = I386
  438. [Files-Inf]
  439. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  440. [Files-TCPPRINT]
  441. 1, LPDSVC.DLL, SIZE=999
  442. 1, LPQ.EXE, SIZE=999
  443. 1, LPR.EXE, SIZE=999
  444. 1, LPRHELP.DLL, SIZE=999
  445. 1, LPRMON.DLL, SIZE=999
  446. [LanguagesSupported]
  447.     ENG
  448. [DialogConstantsENG]
  449. Help        = "&Help"
  450. Exit        = "Cancel"
  451. OK          = "OK"
  452. HelpContext = ""
  453. Continue    = "Continue"
  454. Cancel      = "Cancel"
  455. [FileConstantsENG]
  456. ProCaption   = "Windows NT Setup"
  457. ProCancel    = "Cancel"
  458. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  459.                "Are you sure you want to cancel copying files?"
  460. ProCancelCap = "Network Setup Message"
  461. ProText1     = "Copying:"
  462. ProText2     = "To:"
  463. ProductLPDDisplayName = "TCP/IP Print Server"
  464. ProductLPDTitle = "Microsoft TCP/IP Printing"
  465. ProductLPDDescription = "Enables Windows NT to print to TCP/IP-connected printers or to printers that are physically attached to UNIX computers."
  466. [OptionsTextENG]
  467.         TCPPRINT = "Microsoft TCP/IP Printing"
  468.